import request from '@/utils/request'


// 获取所有的省-市-区县
export function AllCounty(id) {
    return request({
        url: `/system/setting/region/item/${id}`,
        method: 'get'
    })
}

// 点地图获取地址信息
export function getRegion(query) {
    return request({
        url: `/common/region/region`,
        method: 'get',
        params: query
    })
}